-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GCU] Update RDMA Platform Validator #2913
Merged
isabelmsft
merged 12 commits into
sonic-net:master
from
isabelmsft:fix_platform_validator
Jul 20, 2023
Merged
[GCU] Update RDMA Platform Validator #2913
isabelmsft
merged 12 commits into
sonic-net:master
from
isabelmsft:fix_platform_validator
Jul 20, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isabelmsft
changed the title
Fix platform validator
[GCU] Update RDMA Platform Validator
Jul 14, 2023
qiluo-msft
reviewed
Jul 18, 2023
@@ -75,7 +79,7 @@ def _get_fields_in_patch(): | |||
|
|||
if 'value' in patch_element.keys() and isinstance(patch_element['value'], dict): | |||
for key in patch_element['value']: | |||
cleaned_fields.append(cleaned_field+ '/' + key) | |||
cleaned_fields.append(cleaned_field + '/' + key) if len(cleaned_field) > 0 else cleaned_fields.append(key) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to if-else block
qiluo-msft
previously approved these changes
Jul 19, 2023
wen587
previously approved these changes
Jul 19, 2023
/easycla |
neethajohn
reviewed
Jul 20, 2023
…t/sonic-utilities into fix_platform_validator
neethajohn
approved these changes
Jul 20, 2023
qiluo-msft
approved these changes
Jul 20, 2023
rajkumar38
pushed a commit
to rajkumar38/sonic-utilities
that referenced
this pull request
Jul 25, 2023
isabelmsft
added a commit
to isabelmsft/sonic-utilities
that referenced
this pull request
Aug 10, 2023
@isabelmsft ADO? |
pdhruv-marvell
pushed a commit
to pdhruv-marvell/sonic-utilities
that referenced
this pull request
Aug 23, 2023
StormLiangMS
pushed a commit
that referenced
this pull request
Sep 3, 2023
isabelmsft
added a commit
to isabelmsft/sonic-utilities
that referenced
this pull request
Nov 22, 2023
yxieca
pushed a commit
that referenced
this pull request
Nov 29, 2023
Cherry-pick PR #2692 (set up test infrastructure used in later PR 2857), #2857 (platform validator PR), #2913 (edge case fix), #2951, #3018 (add support for new Mellanox HwSKU in conf file) This change stops GCU from modifying a protected RDMA field. Signed-off-by: Stephen Sun <stephens@nvidia.com> Co-authored-by: Stephen Sun <5379172+stephenxs@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What I did
ADO 24509483
-Fix RDMA platform validator PR to consider two edge cases:
-add support for Mellanox spc2, spc3 asic
How I did it
Update GCU x RDMA platform validator functionality
How to verify it
E2E testing, test_add_rack passes
test_pfcwd_status
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)